diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 135b855209..cffea8db0b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -630,11 +630,11 @@ jobs: - run-on-os: ubuntu-20.04 target: x86 api-version: 30 - - run-on-os: macos-12 + - run-on-os: macos-15 target: arm64-v8a cmake_configure: "-DCMAKE_OSX_ARCHITECTURES=arm64" api-version: 30 - - run-on-os: macos-12 + - run-on-os: macos-15 target: x86_64 cmake_configure: "-DCMAKE_OSX_ARCHITECTURES=x86_64" api-version: 30 @@ -679,6 +679,12 @@ jobs: mv ${TOYVPN_PCAPPLUSPLUS}/lib/*.a ${PCAPPLUSPLUS_LIBS_PATH}/ mv ${TOYVPN_PCAPPLUSPLUS}/include/pcapplusplus/*.h ${PCAPPLUSPLUS_INCLUDE_PATH}/ + - name: Set up JDK 8 + uses: actions/setup-java@v4 + with: + java-version: "8" + distribution: "zulu" + - name: Build ToyVpn-PcapPlusPlus working-directory: ./ToyVpn-PcapPlusPlus run: |