Skip to content

(fix) ci: electric boogaloo #92

(fix) ci: electric boogaloo

(fix) ci: electric boogaloo #92

Workflow file for this run

# Used for test262.fyi
name: Build artifacts
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache nimble
id: cache-nimble
uses: actions/cache@v4
with:
path: ~/.nimble
key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
restore-keys: |
${{ runner.os }}-nimble-
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: '2.2.0'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build Balde
uses: docker://fedora:latest
with:
args: |
sh -c "
sudo dnf install simdutf gcc git -y &&
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh &&
chmod +x ./init.sh &&
./init.sh --yes &&
export PATH="$HOME/.nimble/bin:$PATH" &&
nimble build --define:release --define:speed --out:./ &&
ls bin/
"
- name: Upload Build Artifact (balde)
uses: actions/upload-artifact@v4
with:
name: Balde
path: bin/balde
- name: Upload Build Artifacts (test262)
uses: actions/upload-artifact@v4
with:
name: Test262
path: bin/test262