Skip to content

Commit

Permalink
Create build-revealshapes-ubuntu-20.04.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rmast authored Apr 13, 2024
1 parent a032387 commit a788cc1
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/build-revealshapes-ubuntu-20.04.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: C/C++ CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-20.04

steps:
- name: Add deb-src URIs
run: |
echo "deb-src http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs) main restricted" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
- name: install libdjvulibre-dev
run: sudo apt install libdjvulibre-dev
- name: voor checokut
run: pwd

- uses: actions/checkout@v4
- name: na checokut
run: pwd
- name: checkout headerfiles
run: apt-get source libdjvulibre-dev; ls
- name: Copy header files
run: |
mkdir -p external
cp -r djvulibre-*/libdjvu/*.h external
ls external
ls -ld external
- name: autogen.sh
run: ./autogen.sh
- name: show up header files
run: |
ls -ld /home/runner/work
ls -la /home/runner/work
ls -ld /home/runner/work/revealshapes/revealshapes/external
ls -la /home/runner/work/revealshapes/revealshapes/external
- name: make
run: make

- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: revealshapes
path: revealshapes

0 comments on commit a788cc1

Please sign in to comment.