Skip to content

Commit

Permalink
build manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg1969 committed Apr 14, 2024
1 parent 7dbef9e commit 79fc795
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,16 @@ jobs:
tar xfz $fname
rm $fname
done
rm -rf solvers.txt .gitignore .git .github */.gitignore
- name: Show files, build archives
run: |
GCOM="^\.\\|^doc/\\|^examples/"
find . -type d | sed 's@^\./\(.*\)@\1/@' | grep -v $GCOM | sort -f >MANIFEST
find . \! -type d | sed 's@^\./@@' | grep -v $GCOM | sort -f >>MANIFEST
cd ..
mv CVX cvx
zip -r cvx.zip cvx -x 'cvx/.git/*' -x 'cvx/.github/*'
tar cfz cvx.tgz --exclude "cvx/.git" --exclude "cvx/.github" cvx
zip -r cvx.zip cvx
tar cfz cvx.tgz cvx
echo "--------"
tar tfz cvx.tgz
echo "--------"
Expand Down Expand Up @@ -134,7 +138,9 @@ jobs:
with:
name: bundles
- name: Unpack artifact
run: tar xfz cvx.tgz --strip-components=1
run: |
tar xfz cvx.tgz --strip-components=1
rm cvx.tgz cvx.zip
- name: Install latest MATLAB
uses: matlab-actions/setup-matlab@v2
- name: Run test
Expand All @@ -154,7 +160,9 @@ jobs:
with:
name: bundles
- name: Unpack artifact
run: tar xfz cvx.tgz --strip-components=1
run: |
tar xfz cvx.tgz --strip-components=1
rm cvx.tgz cvx.zip
- name: Install Octave, Snap, Flatpak
shell: bash
run: |
Expand Down Expand Up @@ -184,7 +192,9 @@ jobs:
with:
name: bundles
- name: Unpack artifact
run: tar xfz cvx.tgz --strip-components=1
run: |
tar xfz cvx.tgz --strip-components=1
rm cvx.tgz cvx.zip
- name: Install Flatpak octave
run: |
sudo apt update
Expand All @@ -204,7 +214,9 @@ jobs:
with:
name: bundles
- name: Unpack artifact
run: tar xfz cvx.tgz --strip-components=1
run: |
tar xfz cvx.tgz --strip-components=1
rm cvx.tgz cvx.zip
- name: Install Flatpak octave
run: |
sudo snap install octave
Expand Down

0 comments on commit 79fc795

Please sign in to comment.