-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (43 loc) · 1.69 KB
/
linux.yml
File metadata and controls
48 lines (43 loc) · 1.69 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Linux
on: [push, pull_request]
jobs:
gcc-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install
run: sudo apt-get update && sudo apt-get install -y libsdl2-dev libfreetype-dev gcc-10 g++-10
- name: configure
run: mkdir Release && cd Release && cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_C_COMPILER=gcc-10 -D CMAKE_CXX_COMPILER=g++-10 ..
- name: build
run: cd Release && make -j $(nproc --all)
gcc-debug:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install
run: sudo apt-get update && sudo apt-get install -y libsdl2-dev gcc-10 g++-10
- name: configure
run: mkdir Debug && cd Debug && cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_C_COMPILER=gcc-10 -D CMAKE_CXX_COMPILER=g++-10 ..
- name: build
run: cd Debug && make -j $(nproc --all)
clang-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install
run: sudo apt-get update && sudo apt-get install -y libsdl2-dev libfreetype-dev clang-12
- name: configure
run: mkdir Release && cd Release && cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_C_COMPILER=clang-12 -D CMAKE_CXX_COMPILER=clang++-12 ..
- name: build
run: cd Release && make -j $(nproc --all)
clang-debug:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install
run: sudo apt-get update && sudo apt-get install -y libsdl2-dev libfreetype-dev clang-12
- name: configure
run: mkdir Debug && cd Debug && cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_C_COMPILER=clang-12 -D CMAKE_CXX_COMPILER=clang++-12 ..
- name: build
run: cd Debug && make -j $(nproc --all)