-
Notifications
You must be signed in to change notification settings - Fork 4
50 lines (43 loc) · 1.17 KB
/
advanced.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
40
41
42
43
44
45
46
47
48
49
50
name: Build toolchain variants
on:
push:
branches:
- main
workflow_dispatch:
inputs:
binutils_branch:
description: 'Binutils branch to build'
required: false
default: 'woarm64'
gcc_branch:
description: 'GCC branch to build'
required: false
default: 'woarm64'
mingw_branch:
description: 'Mingw branch to build'
required: false
default: 'woarm64'
env:
BINUTILS_BRANCH: ${{ github.event.inputs.binutils_branch }}
GCC_BRANCH: ${{ github.event.inputs.gcc_branch }}
MINGW_BRANCH: ${{ github.event.inputs.mingw_branch }}
jobs:
run-script:
runs-on: ubuntu-latest
env:
INSTALL_PATH: ${{ github.workspace }}/cross
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Dependencies
run: |
.github/scripts/install-dependencies.sh
- name: Run Build
run: |
.github/scripts/build.sh
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: aarch64-w64-mingw32-toolchain
path: ${{ env.INSTALL_PATH }}
retention-days: 1