Update GitHub Actions to use latest versions #10
Workflow file for this run
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: Noble CI | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'datasets/**' | |
| - 'docs/**' | |
| - 'matlab/**' | |
| - '.gitignore' | |
| - 'LICENSE' | |
| - 'README.md' | |
| pull_request: | |
| paths-ignore: | |
| - 'datasets/**' | |
| - 'docs/**' | |
| - 'matlab/**' | |
| - '.gitignore' | |
| - 'LICENSE' | |
| - 'README.md' | |
| # enable manual trigger | |
| workflow_dispatch: | |
| # run on first day of the month | |
| schedule: | |
| - cron: '0 0 1 * *' | |
| jobs: | |
| Build: | |
| name: Build libRSF | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| run: ./InstallDependencies.bash | |
| shell: bash | |
| - name: Configure | |
| run: cmake --preset ci | |
| - name: Build | |
| run: cmake --build --preset ci | |
| - name: Install | |
| run: sudo cmake --install build/ci | |
| - name: Uninstall | |
| run: sudo cmake --build build/ci --target uninstall | |
| - name: Tar build directory | |
| run: tar -czf noble-build.tar.gz build/ci | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: noble-build | |
| path: noble-build.tar.gz | |
| if-no-files-found: error | |
| Test: | |
| name: Test libRSF | |
| runs-on: ubuntu-24.04 | |
| needs: [Build] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Download build artifact | |
| uses: actions/download-artifact@v7 | |
| with: | |
| name: noble-build | |
| - name: Extract build directory | |
| run: tar -xzf noble-build.tar.gz | |
| - name: Install dependencies | |
| run: ./InstallDependencies.bash | |
| shell: bash | |
| - name: Test | |
| run: ctest --preset ci |