Skip to content

Commit

Permalink
Update compiler.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
macarooni-man authored Feb 21, 2024
1 parent cc0c911 commit 3152aca
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/compiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

linux:
name: Linux Build
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
steps:

- name: Clone Repo
Expand All @@ -84,24 +84,24 @@ jobs:
sleep 1
fluxbox > /dev/null 2>&1 &
#- name: Install Python
# uses: actions/setup-python@v2
# with:
# python-version: '3.9'
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.9'

- name: Compile auto-mcs
run: |
# mkdir -p /opt/python/
# ln -s /opt/hostedtoolcache/Python/3.9.18/x64 /opt/python/3.9.18
# sudo cp -f /usr/lib/x86_64-linux-gnu/libcrypt.so.1 /usr/lib64/libcrypt.so.2
mkdir -p /opt/python/
ln -s /opt/hostedtoolcache/Python/3.9.18/x64 /opt/python/3.9.18
sudo cp -f /usr/lib/x86_64-linux-gnu/libcrypt.so.1 /usr/lib64/libcrypt.so.2
export DISPLAY=:0.0
cd build-tools
sed -i "s/su \$(logname) -c/eval/" build-linux.sh
chmod +x build-linux.sh
sudo ./build-linux.sh
#- name: Setup upterm session
# uses: lhotari/action-upterm@v1
- name: Setup upterm session
uses: lhotari/action-upterm@v1

- name: Upload Binary
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 3152aca

Please sign in to comment.