Bump version #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux Build CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: ubuntu:18.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add i386 architecture | |
run: dpkg --add-architecture i386 | |
- name: Update repository | |
run: apt-get update | |
- name: Install build dependencies | |
run: apt-get install -qq -y wget unzip build-essential gcc-4.8-multilib g++-4.8-multilib libgcc1:i386 | |
- name: Update alternatives | |
run: update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 | |
- name: Run build | |
working-directory: ./AccuracyFix | |
run: make | |
- name: Move release file to publish | |
run: | | |
# Make Accuracy Fix path | |
mkdir -p publish/addons/accuracyfix/dlls | |
# Move released file to dlls | |
mv ./AccuracyFix/Release/accuracyfix_mm.so publish/addons/accuracyfix/dlls | |
# Move settings file to folder | |
mv ./cstrike/addons/accuracyfix/accuracyfix.cfg publish/addons/accuracyfix/accuracyfix.cfg | |
- name: Deploy artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: accuracyfix-linux | |
path: publish/* |