-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to replace vmactions/freebsd-vm action with cross-platform-action…
…s/action (#141) * replace vmactions/freebsd-vm action with cross-platform-actions/action
- Loading branch information
Showing
2 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,14 +69,25 @@ jobs: | |
CC: gcc | ||
MAKE: gmake | ||
RUN_TESTS: false | ||
uses: vmactions/freebsd-vm@v0 # https://github.com/vmactions/freebsd-vm | ||
# uses: vmactions/freebsd-vm@v0 # https://github.com/vmactions/freebsd-vm | ||
uses: cross-platform-actions/[email protected] | ||
with: | ||
mem: 2048 | ||
release: 12.3 | ||
envs: 'PREFIX CC MAKE RUN_TESTS ARTIFACT_DIR' | ||
usesh: true | ||
prepare: pkg install -y tree zip git autotools gmake lang/gcc | ||
# mem: 2048 | ||
# release: 12.3 | ||
# envs: 'PREFIX CC MAKE RUN_TESTS ARTIFACT_DIR' | ||
# usesh: true | ||
# prepare: pkg install -y tree zip git autotools gmake lang/gcc | ||
# run: | | ||
# ./scripts/ci-build.sh | ||
|
||
### valid inputs are ['run', 'operating_system', 'architecture', 'version', 'shell', 'environment_variables', 'memory', 'cpu_count', 'hypervisor', 'image_url', 'sync_files'] | ||
memory: 2048 | ||
shell: sh | ||
operating_system: freebsd | ||
version: '13.2' | ||
environment_variables: 'PREFIX CC MAKE RUN_TESTS ARTIFACT_DIR' | ||
run: | | ||
./scripts/ci-freebsd-setup.sh | ||
./scripts/ci-build.sh | ||
- name: Build on Linux (${{ env.AMD64_LINUX_GCC }}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
sudo pkg install -y tree zip git autotools gmake lang/gcc |