This commit is contained in:
parent
e1b61560c9
commit
2107b9edb3
1 changed files with 23 additions and 0 deletions
23
.forgejo/workflows/build.yaml
Normal file
23
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: Build
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: debian-12
|
||||||
|
steps:
|
||||||
|
- name: Install dependencies
|
||||||
|
run: apt-get update && apt-get install -y python3
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 100
|
||||||
|
- name: Build
|
||||||
|
run: ./x.py build --stage=1
|
||||||
|
- name: Remove symlinks
|
||||||
|
run: |
|
||||||
|
rm build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/src/rust
|
||||||
|
rm build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/rustc-src/rust
|
||||||
|
- name: Upload compiler
|
||||||
|
uses: forgejo/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: compiler.zip
|
||||||
|
path: build/x86_64-unknown-linux-gnu/stage1
|
Loading…
Add table
Reference in a new issue