File tree Expand file tree Collapse file tree 2 files changed +88
-0
lines changed
Expand file tree Collapse file tree 2 files changed +88
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release cross-compilation toolchain (newlib)
2+
3+ on :
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : write
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+
17+ - name : Install dependencies
18+ run : |
19+ sudo apt-get update
20+ sudo apt-get install -y \
21+ build-essential bison flex libgmp-dev libmpc-dev libmpfr-dev \
22+ texinfo wget curl git xorriso autoconf automake \
23+ libtool pkg-config gcc-i686-linux-gnu
24+
25+ - name : Build toolchain
26+ run : |
27+ cd tools/cross-compiler-newlib
28+ bash build.sh
29+
30+ - name : Package toolchain
31+ run : tar -czf toolchain.tar.gz .cross-newlib
32+
33+ - name : Upload toolchain to release
34+ uses : softprops/action-gh-release@v2
35+ with :
36+ tag_name : toolchain-newlib-latest
37+ name : Toolchain (Newlib)
38+ body : Pre-built i686-microos cross-compilation toolchain using Newlib
39+ files : toolchain.tar.gz
40+ make_latest : false
41+ env :
42+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Release cross-compilation toolchain
2+
3+ on :
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : write
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+
17+ - name : Install dependencies
18+ run : |
19+ sudo apt-get update
20+ sudo apt-get install -y \
21+ build-essential bison flex libgmp-dev libmpc-dev libmpfr-dev \
22+ texinfo wget curl git xorriso autoconf automake \
23+ libtool pkg-config gcc-i686-linux-gnu
24+
25+ - name : Build toolchain
26+ run : |
27+ cd tools/cross-compiler
28+ bash build.sh
29+
30+ - name : Deploy libraries
31+ run : |
32+ make -C user deploy_libraries
33+
34+ - name : Package toolchain
35+ run : tar -czf toolchain.tar.gz .cross
36+
37+ - name : Upload toolchain to release
38+ uses : softprops/action-gh-release@v2
39+ with :
40+ tag_name : toolchain-latest
41+ name : Toolchain
42+ body : Pre-built i686-microos cross-compilation toolchain
43+ files : toolchain.tar.gz
44+ make_latest : false
45+ env :
46+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments