-
Notifications
You must be signed in to change notification settings - Fork 453
36 lines (33 loc) · 1.07 KB
/
glad2.yaml
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
on: [push, pull_request]
name: glad2
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install gcc g++ gcc-mingw-w64 g++-mingw-w64 rustc libglfw3-dev wine winetricks xvfb libxxf86vm-dev libxi-dev libxcursor-dev libxinerama-dev
- name: Setup environment
run: |
mkdir .wine
export WINEPREFIX="$(pwd)/.wine"
export WINEDLLOVERRIDES="mscoree,mshtml="
winetricks nocrashdialog
- name: Run Tests
run: PRINT_MESSAGE=1 xvfb-run --auto-servernum ./utility/test.sh
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: test-report.xml
comment_mode: off