diff --git a/.github/workflows/build_natives.yml b/.github/workflows/build_natives.yml index fb4a253..5b4ad50 100644 --- a/.github/workflows/build_natives.yml +++ b/.github/workflows/build_natives.yml @@ -11,17 +11,16 @@ env: BUILD_TYPE: Debug jobs: - build-windows: + build-linux: # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: submodules: recursive - - uses: actions/setup-java@v3 with: distribution: 'adopt' # See 'Supported distributions' for available options @@ -36,17 +35,17 @@ jobs: # Build your program with the given configuration run: cmake --build ${{github.workspace}} --config ${{env.BUILD_TYPE}} - build-linux: - needs: build-windows + build-windows: # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v3 with: submodules: recursive + - uses: actions/setup-java@v3 with: distribution: 'adopt' # See 'Supported distributions' for available options @@ -62,7 +61,6 @@ jobs: run: cmake --build ${{github.workspace}} --config ${{env.BUILD_TYPE}} build-mac: - needs: build-linux # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix