Skip to content

Update c-cpp.yml

Update c-cpp.yml #12

Workflow file for this run

name: linux
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: compile or somthing idk
run: |
curl http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/x86_64/cuda-repo-ubuntu1710_9.2.148-1_amd64.deb -O -J -L
sudo dpkg -i cuda-repo-ubuntu1710_9.2.148-1_amd64.deb
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1710/x86_64/7fa2af80.pub
sudo apt-get update
sudo apt-get install cuda-libraries-9-2
curl https://github.com/premake/premake-core/releases/download/v5.0.0-beta3/premake-5.0.0-beta3-linux.tar.gz -O -J -L
tar -xvzf premake-5.0.0-beta3-linux.tar.gz
ls