Renable build and copy more bass
This commit is contained in:
parent
214e941464
commit
bb63cfd178
40
.github/workflows/build.yml
vendored
40
.github/workflows/build.yml
vendored
@ -31,10 +31,10 @@ jobs:
|
||||
cd bass
|
||||
curl http://www.un4seen.com/files/bass24.zip -o bass.zip
|
||||
unzip bass.zip
|
||||
cp bass.dll ../lib
|
||||
cp bass.dll c/bass.lib ../lib
|
||||
curl http://www.un4seen.com/files/bassopus24.zip -o bassopus.zip
|
||||
unzip bassopus.zip
|
||||
cp bassopus.dll ../lib
|
||||
cp bassopus.dll c/bassopus.lib ../lib
|
||||
|
||||
- name: Cache Qt
|
||||
id: cache-qt
|
||||
@ -49,27 +49,27 @@ jobs:
|
||||
version: '5.15.2'
|
||||
cached: ${{steps.cache-qt.outputs.cache-hit}}
|
||||
|
||||
# - name: Create Build Environment
|
||||
# run: cmake -E make_directory ${{github.workspace}}/build
|
||||
- name: Create Build Environment
|
||||
run: cmake -E make_directory ${{github.workspace}}/build
|
||||
|
||||
# - name: Configure CMake
|
||||
# shell: bash
|
||||
# env:
|
||||
# CC: gcc-10
|
||||
# CXX: g++-10
|
||||
# working-directory: ${{github.workspace}}/build
|
||||
# run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
|
||||
- name: Configure CMake
|
||||
shell: bash
|
||||
env:
|
||||
CC: gcc-10
|
||||
CXX: g++-10
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
|
||||
|
||||
# - name: Build
|
||||
# working-directory: ${{github.workspace}}/build
|
||||
# shell: bash
|
||||
# run: cmake --build . --config $BUILD_TYPE --target Attorney_Online
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}/build
|
||||
shell: bash
|
||||
run: cmake --build . --config $BUILD_TYPE --target Attorney_Online
|
||||
|
||||
# - name: Upload Artifact
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: Attorney_Online
|
||||
# path: ${{github.workspace}}/build/Attorney_Online
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Attorney_Online
|
||||
path: ${{github.workspace}}/build/Attorney_Online
|
||||
|
||||
# linux:
|
||||
# # The CMake configure and build commands are platform agnostic and should work equally
|
||||
|
Loading…
Reference in New Issue
Block a user