Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmcl authored Aug 25, 2024
1 parent 2cfce63 commit a897ec2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,23 @@ jobs:
run: sudo apt-get install sshpass
- name: 'Install scp'
run: sudo apt-get install openssh-client
- name: Setup emsdk
uses: mymindstorm/setup-emsdk@v14
with:
# Make sure to set a version number!
version: 1.38.40
# This is the name of the cache folder.
# The cache folder will be placed in the build directory,
# so make sure it doesn't conflict with anything!
actions-cache-folder: 'emsdk-cache'

- name: Verify
run: emcc -v
- name: 'Create env file'
run: |
touch .env
echo CC="gcc" >> .env
echo WC="emcc" >> .env
echo BC="bison" >> .env
cat .env
- name: make
Expand Down

0 comments on commit a897ec2

Please sign in to comment.