mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 16:30:29 +00:00
Create nightly-cosmocc.yml
This commit is contained in:
parent
ff1a0d1c40
commit
b4fe5a4f11
1 changed files with 24 additions and 0 deletions
24
.github/workflows/nightly-cosmocc.yml
vendored
Normal file
24
.github/workflows/nightly-cosmocc.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name: Nightly cosmocc
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
# https://crontab.guru/#37_4_*_*_*
|
||||||
|
- cron: "37 4 * * *"
|
||||||
|
workflow_dispatch:
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
jobs:
|
||||||
|
build-cosmocc:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: |
|
||||||
|
sudo cp build/bootstrap/ape.elf /usr/bin/ape
|
||||||
|
sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
|
||||||
|
- run: tool/cosmocc/package.sh
|
||||||
|
# v4.3.6 doesn't preserve symlinks. v4.3.5 does. https://github.com/actions/upload-artifact/issues/590
|
||||||
|
- uses: actions/upload-artifact@v4.3.5
|
||||||
|
with:
|
||||||
|
name: cosmocc
|
||||||
|
path: cosmocc
|
||||||
|
compression-level: 9
|
Loading…
Add table
Add a link
Reference in a new issue