Skip to content

Commit 8b14ba7

Browse files
Add ci.yml
1 parent f12eac4 commit 8b14ba7

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: arm64-assembly / main
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
workflow_dispatch:
9+
10+
jobs:
11+
ci:
12+
runs-on: ${{ matrix.os }}
13+
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
include:
18+
- os: ubuntu-22.04
19+
compiler: gcc
20+
- os: ubuntu-22.04
21+
compiler: clang
22+
23+
steps:
24+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
25+
26+
- name: Install project dependencies (Linux)
27+
if: ${{ runner.os == 'Linux' }}
28+
run: |
29+
sudo apt-get update -q
30+
sudo apt-get install -y build-essential qemu-user qemu-user-static binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu
31+
32+
- name: Run exercism/arm64-assembly ci (runs tests) for all exercises
33+
env:
34+
CC: ${{ matrix.compiler }}
35+
CC_FOR_BUILD: ${{ matrix.compiler }}
36+
run: bin/verify-exercises

0 commit comments

Comments
 (0)