Repository navigation
Test build Oolite packages #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test build Oolite packages | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: windows-2025 | |
| strategy: | |
| matrix: | |
| # This creates two separate jobs that run in parallel | |
| compiler: [clang, gcc] | |
| include: | |
| - compiler: clang | |
| env_msystem: UCRT64 | |
| - compiler: gcc | |
| env_msystem: MINGW64 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up MSYS2 | |
| uses: msys2/setup-msys2@v2 | |
| with: | |
| update: true | |
| - name: Build Oolite | |
| shell: msys2 {0} | |
| env: | |
| msystem: ${{ matrix.env_msystem }} | |
| run: | | |
| ./install.sh ${{ matrix.compiler }} | |
| - name: Upload artifacts | |
| if: success() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| # Uses the compiler name to keep artifact names unique | |
| name: oolite-build-${{ matrix.compiler }} | |
| path: packages/** |