-
Notifications
You must be signed in to change notification settings - Fork 49
69 lines (54 loc) · 2.17 KB
/
release.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: release
on:
workflow_dispatch:
inputs:
gcc_version:
required: true
type: string
binutils_version:
required: true
type: string
gdb_version:
required: true
type: string
jobs:
i686:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build
run: docker run -v "${{ github.workspace }}:/root" --rm lordmilko/i686-elf-tools -parallel -gv ${{ inputs.gcc_version }} -bv ${{ inputs.binutils_version }} -dv ${{ inputs.gdb_version }}
- uses: actions/upload-artifact@v3
with:
name: i686-elf-tools
path: ${{ github.workspace }}/build-i686-elf/*.zip
x86_64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build
run: docker run -v "${{ github.workspace }}:/root" --rm lordmilko/i686-elf-tools -parallel -gv ${{ inputs.gcc_version }} -bv ${{ inputs.binutils_version }} -dv ${{ inputs.gdb_version }} -64
- uses: actions/upload-artifact@v3
with:
name: x86_64-elf-tools
path: ${{ github.workspace }}/build-x86_64-elf/*.zip
release:
runs-on: ubuntu-latest
needs: [i686, x86_64]
steps:
- uses: actions/download-artifact@v3
- name: release
uses: softprops/[email protected]
with:
name: GCC ${{ inputs.gcc_version }}
tag_name: ${{ inputs.gcc_version }}
draft: true
files: '**/*.zip'
body: |
i686/x86_64-elf Win32/Linux binaries
-GCC ${{ inputs.gcc_version }}
-Binutils ${{ inputs.binutils_version }}
-GDB ${{ inputs.gdb_version }}
* 🤖This modern version of i686-elf-tools has automatically been built by GitHub Actions
* ⚠️It is completely untested, and merely provided for your convenience in the event that you would prefer to use a modern version of the toolchain
* 🚀Having said all this, the [original release](https://github.com/lordmilko/i686-elf-tools/releases/tag/7.1.0) of the toolchain has been thoroughly tested, and is generally recommended unless you specifically know that you need to use a newer version