Skip to content

Commit

Permalink
CI: Split into more steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Croydon committed Feb 15, 2024
1 parent 22870b0 commit 679e92a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,29 @@ jobs:
conan user
conan --version
cmake --version
- name: Build
- name: Conan Install
# TODO: Fix cpack
run: |
conan config set general.revisions_enabled=True
conan remote add bincrafters https://bincrafters.jfrog.io/artifactory/api/conan/public-conan
echo "Conan install"
conan install . --build missing
- name: CMake
# TODO: Fix cpack
run: |
echo "CMake configuration"
cmake --preset default
echo "CMake build"
cmake --build --preset release
echo "CMake install"
cmake --install .
- name: Create package
# TODO: Fix cpack
run: |
echo "Create package"
git add -A .
git config --global user.email "[email protected]"
git config --global user.name "Fix CPack"
git commit -am "Workaround until CPack works"
git archive -o sauerbraten.zip HEAD
echo "::set-env name=ARTIFACT_FILE::$(ls sauerbraten*.zip)"
Expand Down

0 comments on commit 679e92a

Please sign in to comment.