mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-11 23:00:24 +08:00
chore(workflow): remove unnecessory files
This commit is contained in:
41
.github/workflows/release.yml
vendored
41
.github/workflows/release.yml
vendored
@@ -1,41 +0,0 @@
|
|||||||
name: release
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- v*
|
|
||||||
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
my-job:
|
|
||||||
name: Build on Push Tag 🚀
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Check out code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Set up Build tools
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y gcc
|
|
||||||
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-1.0.zip
|
|
||||||
unzip cosmopolitan-amalgamation-1.0.zip
|
|
||||||
|
|
||||||
- name: Build Cosmopolitan
|
|
||||||
run: |
|
|
||||||
gcc -g -Os -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \
|
|
||||||
-fno-omit-frame-pointer -pg -mnop-mcount -D__cosmopolitan \
|
|
||||||
-o base16384.com.dbg base16384.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
|
|
||||||
|
|
||||||
- name: Upload binaries to release
|
|
||||||
uses: svenstaro/upload-release-action@v2
|
|
||||||
with:
|
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
file: base16384.com
|
|
||||||
tag: ${{ github.ref }}
|
|
||||||
overwrite: true
|
|
||||||
file_glob: true
|
|
||||||
Reference in New Issue
Block a user