File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 if : runner.os == 'Linux'
4040 run : sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config
4141
42- - name : Install system dependencies (Windows)
43- if : runner.os == 'Windows'
44- run : choco install cmake nasm -y
45-
4642 - name : Setup Bazel
4743 uses : bazel-contrib/setup-bazel@0.14.0
4844 with :
5248
5349 - name : Build release binary
5450 run : bazel build //:loopal -c opt
55- if : runner.os != 'Windows'
56-
57- - name : Build release binary (Windows)
58- if : runner.os == 'Windows'
59- run : bazel build //:loopal -c opt --action_env=PATH
6051
6152 - name : Package (Unix)
6253 if : runner.os != 'Windows'
7667 run : |
7768 $archiveDir = "$env:BINARY_NAME-${{ github.ref_name }}-${{ matrix.target }}"
7869 New-Item -ItemType Directory -Path $archiveDir -Force
79- $binPath = (bazel cquery --output=files //:loopal -c opt --action_env=PATH 2>$null).Trim()
70+ $binPath = (bazel cquery --output=files //:loopal -c opt 2>$null).Trim()
8071 Copy-Item $binPath "$archiveDir/"
8172 if (Test-Path "README.md") { Copy-Item "README.md" "$archiveDir/" }
8273 if (Test-Path "LICENSE") { Copy-Item "LICENSE" "$archiveDir/" }
You can’t perform that action at this time.
0 commit comments