Skip to content

Commit

Permalink
try to fix these bloody workflows again
Browse files Browse the repository at this point in the history
  • Loading branch information
hasindu2008 committed Jan 16, 2025
1 parent a07b6fd commit f367d6f
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,19 @@ jobs:
ubuntu_14:
name: ubuntu_14
runs-on: ubuntu-20.04
container: ubuntu:14.04
container:
image: ubuntu:14.04
volumes:
- /node20217:/node20217:rw,rshared
- /node20217:/__e/node20:ro,rshared
steps:
- name: install git
run: sudo apt-get install -y software-properties-common && sudo add-apt-repository ppa:git-core/ppa && sudo apt-get update -y && sudo apt-get install git -y
- name: nodejs
run: |
apt-get install -y wget xz-utils
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
- uses: actions/checkout@v2
with:
submodules: recursive
Expand All @@ -31,10 +40,19 @@ jobs:
ubuntu_16:
name: Ubuntu 16
runs-on: ubuntu-20.04
container: ubuntu:16.04
container:
image: ubuntu:16.04
volumes:
- /node20217:/node20217:rw,rshared
- /node20217:/__e/node20:ro,rshared
steps:
- name: install git
run: apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:git-core/ppa && apt-get update -y && apt-get install git -y
- name: nodejs
run: |
apt-get install -y wget xz-utils
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
- uses: actions/checkout@v2
with:
submodules: recursive
Expand Down

0 comments on commit f367d6f

Please sign in to comment.