Skip to content

Commit

Permalink
removing virtual DISPLAY from CI.
Browse files Browse the repository at this point in the history
We no longer need virtual frame buffer. Instead we can use OFFSCREEN option from julia.
  • Loading branch information
arhik committed Nov 13, 2023
1 parent 348c395 commit 2686741
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ jobs:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- run : sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
- run : DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --color=yes --project=wgpucore -e 'using Pkg; pkg"dev . WGPUNative"'
- run : DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --color=yes --project=wgpucore -e 'using Pkg; Pkg.test("WGPUCore", coverage=true)'
# - run : sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
# - run : DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --color=yes --project=wgpucore -e 'using Pkg; pkg"dev . WGPUNative"'
- run : julia --color=yes --project=wgpucore -e 'using Pkg; pkg"dev . WGPUNative"'
- run : julia --color=yes --project=wgpucore -e 'using Pkg; Pkg.test("WGPUCore", coverage=true)'
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v2
with:
Expand Down

0 comments on commit 2686741

Please sign in to comment.