Skip to content

Commit

Permalink
Replace export in CI with variables
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmadAmine998 committed Oct 1, 2024
1 parent 339a5b8 commit 1dfd648
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ permissions:

jobs:
build:
variables:
QT_QPA_PLATFORM: "offscreen"

runs-on: ubuntu-latest
strategy:
Expand All @@ -22,9 +24,6 @@ jobs:
- name: Install openGL
run: sudo apt install freeglut3-dev libglib2.0-0 libsm6 libxrender1 libxext6 libxkbcommon-x11-0 libdbus-1-dev

- name: Set QT to be headless
run: export QT_QPA_PLATFORM=offscreen

- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit 1dfd648

Please sign in to comment.