mirror of
https://github.com/janet-lang/janet
synced 2024-11-16 05:34:48 +00:00
yml config for building with Cosmopolitan Libc
This commit is contained in:
parent
2f0c789ea1
commit
83c6080380
35
.github/workflows/release.yml
vendored
35
.github/workflows/release.yml
vendored
@ -60,3 +60,38 @@ jobs:
|
|||||||
./dist/*.zip
|
./dist/*.zip
|
||||||
./*.zip
|
./*.zip
|
||||||
./*.msi
|
./*.msi
|
||||||
|
|
||||||
|
release-cosmo:
|
||||||
|
permissions:
|
||||||
|
contents: write # for softprops/action-gh-release to create GitHub release
|
||||||
|
name: Build release binaries for Cosmo
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout superconfigure repo
|
||||||
|
run: git clone https://github.com/ahgamut/superconfigure
|
||||||
|
- name: support ape bins and SSL things
|
||||||
|
run: |
|
||||||
|
cd superconfigure
|
||||||
|
bash ./.github/scripts/setup
|
||||||
|
- name: build Cosmo
|
||||||
|
working-directory: /ahgamut/superconfigure
|
||||||
|
run: bash ./.github/scripts/cosmo
|
||||||
|
- name: clone Janet latest commit
|
||||||
|
working-directory: /ahgamut/superconfigure
|
||||||
|
run: |
|
||||||
|
make o/lang/janet/downloaded
|
||||||
|
cd o/lang/janet/janet
|
||||||
|
git pull origin master
|
||||||
|
- name: Set the version
|
||||||
|
run: echo "version=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
|
||||||
|
- name: Set the platform
|
||||||
|
run: echo "platform=cosmo" >> $GITHUB_ENV
|
||||||
|
- name: build Janet APE binary
|
||||||
|
working-directory: /ahgamut/superconfigure
|
||||||
|
run: make o/lang/janet/built.fat
|
||||||
|
- name: push binary to github
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
draft: true
|
||||||
|
files: |
|
||||||
|
results/bin/janet.com
|
||||||
|
Loading…
Reference in New Issue
Block a user