Add CI
All checks were successful
Build / build (push) Successful in 9m16s

This commit is contained in:
Mathieu Strypsteen 2024-12-25 14:59:42 +01:00
parent e1b61560c9
commit 2107b9edb3

View 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