Skip to content

Commit

Permalink
Try to get linux to work
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEricNitschke committed Oct 17, 2024
1 parent 1fe2b13 commit deeb5b5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/dreamberd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,22 @@ jobs:
python-version: "3.11"
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Xvfb
run: |
sudo apt-get update
sudo apt-get install -y xvfb
- name: Start Xvfb
run: |
Xvfb :99 -screen 0 1024x768x24 &
- name: Set DISPLAY environment variable
run: echo "DISPLAY=:99" >> $GITHUB_ENV
- name: Install dependencies
run: |
pip install "git+https://github.com/JanEricNitschke/dreamberd-interpreter.git[input]"
pip install pynput
export LC_ALL="de_DE.UTF-8"
export PYTHONUNBUFFERED=1
- name: Run
run: |
export LC_CTYPE="de_DE.UTF-8"
python simulate_key_presses.py --win & dreamberd tictactoe.db
python simulate_key_presses.py --draw & dreamberd tictactoe.db

0 comments on commit deeb5b5

Please sign in to comment.