-
Notifications
You must be signed in to change notification settings - Fork 9
35 lines (29 loc) · 794 Bytes
/
linux.yml
File metadata and controls
35 lines (29 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: 🐧 Linux
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
name: ${{ matrix.config.name }} - Build and test
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- { name: "Ubuntu g++", os: ubuntu-latest, compiler: "g++" }
- { name: "Ubuntu clang++", os: ubuntu-latest, compiler: "clang++" }
steps:
- name: Checkout atta
uses: actions/checkout@v6
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install cmake xorg-dev curl
- name: Build
run: ./build.sh --jobs 4 --compiler ${{ matrix.config.compiler }}
- name: Test
run: ctest
working-directory: build/release