1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-07 11:10:29 +08:00

feat(ci): add test on push

This commit is contained in:
源文雨
2024-04-04 21:06:13 +09:00
parent c5d5de227c
commit a3f0a4ef6e
2 changed files with 26 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
my-job:
release:
name: Build on Push Tag 🚀
runs-on: ubuntu-latest
steps:
@@ -27,6 +27,7 @@ jobs:
run: |
gcc -g -Os -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \
-fno-omit-frame-pointer -pg -mnop-mcount -D__cosmopolitan \
-DBASE16384_VERSION="${{ github.ref }}" -DBASE16384_VERSION_DATE="`date +"%Y%b/%d"`"\
-o base16384.com.dbg base16384.c file.c base1432.c -fuse-ld=bfd -Wl,-T,ape.lds \
-include cosmopolitan.h crt.o ape.o cosmopolitan.a
objcopy -S -O binary base16384.com.dbg base16384.com