Add Brioche nightly support #55
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: Test Brioche Setup | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| smoke-test-setup-brioche: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| runs-on: | |
| - ubuntu-22.04 | |
| - ubuntu-24.04 | |
| - ubuntu-latest | |
| runs-on: ${{ matrix.runs-on }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup Brioche | |
| uses: ./ # Uses an action in the root directory | |
| - &verify-brioche | |
| name: Verify Brioche installation | |
| run: | | |
| brioche --version | |
| brioche install -r hello_world | |
| hello-world | |
| WATERMARK="$(date -uIs)" | |
| sed -i "s/\${WATERMARK}/${WATERMARK}/g" example-project/project.bri | |
| brioche build -p example-project -o output | |
| test-setup-brioche: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - runs-on: ubuntu-24.04 | |
| version: stable | |
| - runs-on: ubuntu-24.04 | |
| version: nightly | |
| - runs-on: ubuntu-24.04-arm | |
| version: stable | |
| - runs-on: ubuntu-24.04-arm | |
| version: nightly | |
| runs-on: ${{ matrix.runs-on }} | |
| continue-on-error: ${{ matrix.runs-on == 'ubuntu-24.04-arm' && matrix.version == 'stable' }} # Brioche stable does not support ARM architecture | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup Brioche | |
| uses: ./ # Uses an action in the root directory | |
| with: | |
| version: ${{ matrix.version }} | |
| - *verify-brioche |