-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 1.15 KB
/
KS1.yml
File metadata and controls
30 lines (28 loc) · 1.15 KB
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
name: Install KiteSimulators (latest release) using Julia 1.11
on:
schedule:
- cron: '0 7 * * *' # Runs every day at 2am UTC
workflow_dispatch: # Allows manual trigger from the Actions tab
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Install matplotlib
run: if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get install -y python3-matplotlib; fi
shell: bash
- name: Checkout code
uses: actions/checkout@v6
- name: Install mesa
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
- name: Install juliaup (with retry)
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: |
curl -fsSL https://install.julialang.org | sh -s -- --yes --default-channel 1.11
- name: Add juliaup to PATH
run: echo "$HOME/.juliaup/bin" >> $GITHUB_PATH
- name: Run script install_kitesimulators
run: |
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' ./scripts/install_kitesimulators