Skip to content

Commit d5b76e7

Browse files
committed
Trying Ubuntu-bionic
Signed-off-by: Bhavye Mathur <bhavyemathur@gmail.com>
1 parent ea3f222 commit d5b76e7

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

.github/workflows/google-test.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,31 +32,25 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
os: [ windows-latest ]
35+
os: [ ubuntu-bionic ]
3636

3737
steps:
3838
- uses: actions/checkout@v4
3939
with:
4040
submodules: 'recursive'
4141

42+
- uses: openrndr/setup-opengl@v1.1
43+
44+
- name: Setup OpenGL
45+
run: xvfb-run glxinfo
46+
4247
- name: Configure CMake
4348
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
4449

45-
- name: Install 7zip
46-
run: choco install 7zip.install
47-
48-
- name: Build goopylib tests
50+
- name: Build tests
4951
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 8 --target core_tests
5052

51-
- name: Install Mesa
52-
shell: cmd
53-
run: |
54-
curl.exe -L --output mesa.7z --url https://github.com/pal1000/mesa-dist-win/releases/download/20.3.2/mesa3d-20.3.2-release-msvc.7z
55-
"C:\Program Files\7-Zip\7z.exe" x mesa.7z
56-
mklink opengl32.dll "x64\opengl32.dll"
57-
mklink libglapi.dll "x64\libglapi.dll"
58-
working-directory: tests/Release
59-
6053
- name: Run tests
61-
shell: cmd
62-
run: call "D:/a/goopylib/goopylib/tests/Release/core_tests.exe" --gtest_filter=* --gtest_color=no
54+
run: |
55+
ls
56+
tests/core_tests.exe --gtest_filter=* --gtest_color=no

0 commit comments

Comments
 (0)