Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add vcpkg #2

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,28 @@ jobs:
MYTOKEN2: "value2"
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
envs: 'MYTOKEN MYTOKEN2'
usesh: true
prepare: |
pkg install -y curl
pkg install -y curl cmake ninja unzip zip
pkg install -y git pkgconf
pkg install -y mono
fetch -o /usr/local/bin/nuget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe

run: |
mono /usr/local/bin/nuget q
set -e
pwd
ls -lah
whoami
env
freebsd-version
sh vcpkg/bootstrap-vcpkg.sh
vcpkg/vcpkg install zlib
mono $(vcpkg/vcpkg fetch nuget) list
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "vcpkg"]
path = vcpkg
url = https://github.com/microsoft/vcpkg
1 change: 1 addition & 0 deletions vcpkg
Submodule vcpkg added at 345ac4