-
-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (37 loc) · 1.03 KB
/
nightly.yml
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
31
32
33
34
35
36
37
38
39
name: Nightly builds
on:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch:
- aarch64
- i686
- x86_64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install -U --upgrade-strategy=eager -r requirements.txt
- name: docker qemu multi-arch
if: matrix.arch != 'x86_64'
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset --persistent yes
- name: Build
run: |
SOURCE_DATE_EPOCH=$(git show -s --format=%ct) ./build.sh ${{ matrix.arch }} "" master
- name: Get file name
id: vars
run: |
echo "file_name=$(cd dist && ls *.*)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v3
with:
name: ${{ steps.vars.outputs.file_name }}
path: dist/*