Skip to content

Commit

Permalink
update yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Jan 8, 2024
1 parent 31c5f7e commit 91ab8c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
run: sudo apt-get install make build-essential gcc gcc-multilib g++-multilib

- name: Build all
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
sudo chmod +777 build-all-linux.sh
cd scripts
sudo chmod +777 *.sh
./build-all-linux.sh
- name: Remove placeholder
working-directory: ${{env.GITHUB_WORKSPACE}}
run: rm -f build/addons/metamod/dlls/.placeholder
run: rm "build\addons\metamod\dlls\.placeholder"

- name: Archive the build directory
uses: thedoctor0/zip-release@main
Expand Down
22 changes: 4 additions & 18 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,11 @@ jobs:
steps:
- uses: hzqst/[email protected]

- name: Get submodules
- name: Build all
working-directory: ${{env.GITHUB_WORKSPACE}}
run: git submodule update --init --recursive
shell: cmd

- name: Build capstone
working-directory: ${{env.GITHUB_WORKSPACE}}
run: build-capstone.bat
shell: cmd

- name: Build bullet3
working-directory: ${{env.GITHUB_WORKSPACE}}
run: build-bullet3.bat
shell: cmd

- name: Build metamod
working-directory: ${{env.GITHUB_WORKSPACE}}
run: build-metamod.bat
shell: cmd
run: |
cd scripts
call build-all-win32.bat
- name: Remove placeholder
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down

0 comments on commit 91ab8c1

Please sign in to comment.