-
Notifications
You must be signed in to change notification settings - Fork 43
44 lines (42 loc) · 1.39 KB
/
build-binary.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
37
38
39
40
41
42
43
44
name: testjll
on:
- push
defaults:
run:
shell: bash
jobs:
buildjll:
name: Build JLL
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1.8'
arch: x64
- name: Cache artifacts
uses: actions/cache@v2
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-jll-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-jll-${{ env.cache-name }}-
${{ runner.os }}-jll-
${{ runner.os }}-
- uses: fusion-engineering/setup-git-credentials@v2
with:
credentials: https://cxxwrapdeploy:${{secrets.DEPLOY_KEY}}@github.com/
- name: Build JLLs
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_KEY }}
BINARYBUILDER_RUNNER: privileged
BINARYBUILDER_USE_SQUASHFS: true
BINARYBUILDER_AUTOMATIC_APPLE: true
run: |
cd ..
git config --global user.name "cxxwrapdeploy"
git config --global user.email "[email protected]"
julia --project=./libcxxwrap-julia/binarybuilder -e "using Pkg; Pkg.instantiate()"
julia --project=./libcxxwrap-julia/binarybuilder ./libcxxwrap-julia/binarybuilder/build_tarballs.jl