-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 971 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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 }}
- run: nimble build --define:release --out:./ --define:baliUseStdBase64 # TODO: get simdutf working here
- run: 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