Skip to content

Commit be31899

Browse files
add ubuntu build job to GitHub Actions workflow
1 parent d2d0ef9 commit be31899

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

.github/workflows/builds.yml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: builds
33
on:
44
push:
55
paths-ignore:
6-
- '**.md'
6+
- "**.md"
77
pull_request:
88
paths-ignore:
9-
- '**.md'
9+
- "**.md"
1010

1111
jobs:
1212
build-windows-2022:
@@ -33,6 +33,36 @@ jobs:
3333
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
3434
call build "${{ matrix.target }}" "${{ matrix.compiler }}" "${{ matrix.mode }}" || exit /b 1
3535
36+
build-ubuntu:
37+
runs-on: ubuntu-latest
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
target:
42+
- raddbg
43+
# - radlink TODO
44+
# - rdi_from_pdb TODO
45+
# - rdi_from_dwarf TODO
46+
# - rdi_breakpad_from_pdb TODO
47+
- ryan_scratch
48+
compiler:
49+
- gcc
50+
- clang
51+
mode:
52+
- debug
53+
- release
54+
steps:
55+
- name: checkout
56+
uses: actions/checkout@v2
57+
- name: Install dependencies
58+
run: |
59+
sudo apt-get update
60+
sudo apt-get install -y build-essential clang libx11-dev libxext-dev libfreetype-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev
61+
62+
- name: build (ubuntu)
63+
run: |
64+
bash build.sh ${{ matrix.target }} ${{ matrix.compiler }} ${{ matrix.mode }}
65+
3666
run-torture:
3767
runs-on: windows-2022
3868
steps:

0 commit comments

Comments
 (0)