-
-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (36 loc) · 1.27 KB
/
swift-debug-ubuntu.yml
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
name: Run Tests (Ubuntu x86/64)
on: [push]
jobs:
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
swift: ["5.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: swift-actions/setup-swift@v2
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v4
- name: 👨💻 Install CxxStdlib
run: sudo apt install libstdc++-12-dev
- name: 📙 Install BZ2
run: sudo apt install libbz2-dev
- name: 📓 Install ZLib
run: sudo apt install zlib1g-dev
- name: 🐍 Install Python
run: sudo apt install python3-dev
- name: 🖼 Install FreeGLUT
run: sudo apt install freeglut3-dev
- name: 🚀 Install Boost
run: sudo apt install libboost-all-dev
- name: 🖥️ Install X11
run: sudo apt install libxcursor-dev libxt-dev libxi-dev libxinerama-dev libxrandr-dev
- name: 🧪 Test
run: |
echo "### Disabled Tests" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "Pre Swift 5.10 toolchains do not support Cxx Interop enabled testing targets on Linux." >> $GITHUB_STEP_SUMMARY
- name: 🎬 Run
run: swift run UsdView