Skip to content

Commit

Permalink
Run nightly tests with new xmake versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchisnall committed Nov 8, 2024
1 parent bcc717a commit 7b1755b
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test-new-xmake-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CHERIoT RTOS Tests

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
run-tests:
strategy:
fail-fast: false
runs-on: ubuntu-latest
container:
image: ghcr.io/cheriot-platform/devcontainer:latest
options: --user 1001
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Build latest xmake
run: |
# Make sure that we don't accidentally use the installed version
sudo apt remove -y xmake
curl -fsSL https://xmake.io/shget.text | bash -s dev
- name: Build tests
run: |
source ~/.xmake/profile
xmake --version
cd tests
xmake f --board=${{ matrix.board }} --sdk=/cheriot-tools/ ${{ matrix.build-flags }}
xmake
- name: Run tests
run: |
source ~/.xmake/profile
xmake --version
cd tests
xmake run

0 comments on commit 7b1755b

Please sign in to comment.