Skip to content

Commit c7bed4c

Browse files
committed
ci: Introduce test-workflow
1 parent 0614600 commit c7bed4c

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test LibXenon
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- README.md
7+
pull_request:
8+
paths-ignore:
9+
- README.md
10+
11+
jobs:
12+
test_libxenon:
13+
runs-on: ubuntu-latest
14+
container: free60/toolchain:latest
15+
steps:
16+
- name: Check Out Repo
17+
uses: actions/checkout@v6
18+
19+
- name: Compile and install libxenon
20+
working-directory: toolchain/
21+
run: ./build-xenon-toolchain libxenon
22+
23+
- name: Add toolchain to PATH
24+
run: echo "/usr/local/xenon/bin" >> $GITHUB_PATH
25+
26+
- name: Build cube sample
27+
working-directory: devkitxenon/examples/xenon/graphics/cube
28+
env:
29+
DEVKITXENON: /usr/local/xenon
30+
run: |
31+
make

0 commit comments

Comments
 (0)