Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 37 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
sed -i "s/\${WATERMARK}/${WATERMARK}/g" example-project/project.bri
brioche build -p example-project -o output

test-setup-brioche:
test-setup-brioche-with-version-override:
strategy:
fail-fast: false
# FIXME: to add stable on ARM architecture once a new release of Brioche is done.
# As for now, stable version Brioche stable does not support this architecture
matrix:
include:
- runs-on: ubuntu-24.04
version: stable
- runs-on: ubuntu-24.04-arm
version: stable
- runs-on: ubuntu-24.04
version: nightly
- runs-on: ubuntu-24.04-arm
Expand All @@ -60,3 +60,37 @@ jobs:
version: ${{ matrix.version }}

- *verify-brioche

test-setup-brioche-with-install-bin-dir-override:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Brioche
uses: ./ # Uses an action in the root directory
with:
install-bin-dir: ${{ runner.temp }}/brioche-bin

- name: Verify Brioche location
run: |
test -f "${{ runner.temp }}/brioche-bin/brioche"

- *verify-brioche

test-setup-brioche-with-install-root-override:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Setup Brioche
uses: ./ # Uses an action in the root directory
with:
install-root: ${{ runner.temp }}/brioche-install

- name: Verify Brioche location
run: |
test -d "${{ runner.temp }}/brioche-install/brioche"

- *verify-brioche