Don't forget that rust requires each package version to be explicitly… #286
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: cmake | |
| on: | |
| push: | |
| branches: ["*"] | |
| pull_request: | |
| branches: ["*"] | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: | | |
| sudo apt-get update | |
| sudo apt-get install gcc-multilib | |
| - run: cmake -B out-x64 -G Ninja -DCMAKE_INSTALL_PREFIX=install/x64 | |
| - run: ninja -C out-x64 | |
| - run: ninja -C out-x64 install | |
| - run: ninja -C out-x64 test | |
| win32: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: johnnynunez/vsdevenv-shell@v2 | |
| - name: x64 | |
| run: | | |
| cmake -B out-x64 -G Ninja -DCMAKE_INSTALL_PREFIX=install/x64 | |
| ninja -C out-x64 | |
| ninja -C out-x64 install | |
| ninja -C out-x64 test | |
| shell: vsdevenv x64 pwsh {0} | |
| - name: x86 | |
| run: | | |
| cmake -B out-x86 -G Ninja -DCMAKE_INSTALL_PREFIX=install/x86 | |
| ninja -C out-x86 | |
| ninja -C out-x86 install | |
| ninja -C out-x86 test | |
| shell: vsdevenv x86 pwsh {0} |