Skip to content

Commit e6abe7d

Browse files
committed
Use VM
1 parent 2d2114e commit e6abe7d

1 file changed

Lines changed: 14 additions & 18 deletions

File tree

.github/workflows/cross-build.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313
build-binaries:
1414
# needs: [create-release]
1515
runs-on:
16-
- codebuild-defguard-proxy-runner-${{ github.run_id }}-${{ github.run_attempt }}
16+
- self-hosted
17+
- Linux
18+
- X64
1719
steps:
1820
# Store the version, stripping any v-prefix
1921
- name: Write release version
@@ -27,21 +29,15 @@ jobs:
2729
with:
2830
submodules: recursive
2931

30-
- name: Install required packages to run the virtual machine
31-
run: apt-get update && apt-get install -y zstd
32+
- name: Sync with FreeBSD
33+
run:
34+
pwd
3235

33-
# IMPORTANT: this will fail with Proxmox.
34-
- name: Test in FreeBSD
35-
uses: vmactions/freebsd-vm@v1
36-
with:
37-
envs: 'VERSION'
38-
# release: "14.4"
39-
sync: nfs
40-
usesh: true
41-
run: |
42-
pwd
43-
ls -l
44-
uname -a
45-
pkg update && pkg install rust
46-
cargo -vV
47-
echo "${VERSION}"
36+
# - name: Build on FreeBSD
37+
# run: |
38+
# pwd
39+
# ls -l
40+
# uname -a
41+
# pkg update && pkg install rust
42+
# cargo -vV
43+
# echo "${VERSION}"

0 commit comments

Comments
 (0)