mirror of
https://github.com/cmosher01/Epple-II.git
synced 2024-06-09 23:29:39 +00:00
remove vcpkg, manually install SDL2
This commit is contained in:
parent
b666df1b8a
commit
e5135b5352
38
.github/workflows/build.yaml
vendored
38
.github/workflows/build.yaml
vendored
|
@ -86,32 +86,24 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/checkout@v3"
|
- uses: "actions/checkout@v3"
|
||||||
|
|
||||||
- name: "Set up vcpkg and install dependencies"
|
- name: "Download SDL2 package"
|
||||||
# TODO use https://github.com/lukka/CppCMakeVcpkgTemplate instead of this
|
run: >-
|
||||||
shell: "cmd"
|
wget
|
||||||
run: |
|
"https://github.com/libsdl-org/SDL/releases/download/release-2.24.2/SDL2-devel-2.24.2-VC.zip"
|
||||||
git clone https://github.com/Microsoft/vcpkg.git
|
-outfile "C:/Program Files/SDL2-devel-VC.zip"
|
||||||
|
|
||||||
- name: "Set up vcpkg and install dependencies 2"
|
- name: "Install SDL2"
|
||||||
shell: "cmd"
|
run: >-
|
||||||
run: "vcpkg\\bootstrap-vcpkg.bat -disableMetrics"
|
Expand-Archive
|
||||||
|
-LiteralPath "C:/Program Files/SDL2-devel-VC.zip"
|
||||||
- name: "Set up vcpkg and install dependencies 3"
|
|
||||||
shell: "cmd"
|
|
||||||
run: |
|
|
||||||
vcpkg install sdl2
|
|
||||||
|
|
||||||
- name: "Set up vcpkg and install dependencies 4"
|
|
||||||
run: |
|
|
||||||
cd vcpkg
|
|
||||||
Get-ChildItem -Recurse installed
|
|
||||||
|
|
||||||
- name: "Build"
|
- name: "Build"
|
||||||
shell: "bash"
|
shell: "bash"
|
||||||
run: |
|
run: |
|
||||||
|
set -x
|
||||||
mkdir build
|
mkdir build
|
||||||
cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake
|
cd build
|
||||||
cmake --build build
|
cmake ..
|
||||||
dir build/src
|
cmake --build .
|
||||||
dir -Path build/conf
|
ls -l src conf
|
||||||
cat build/conf/epple2.a2ploaded.conf
|
cat conf/epple2.a2ploaded.conf
|
||||||
|
|
Loading…
Reference in New Issue
Block a user