Skip to content

Commit

Permalink
include only archives in artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Nov 12, 2024
1 parent 007ded6 commit 878cc85
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,10 @@ jobs:
- name: create virtual environment
shell: cmd
run: |
dir
echo %PATH%
python -m venv env-build
dir
call .\env-build\Scripts\activate.bat
echo %PATH%
pip install aqtinstall mkl-static swig cmake ninja
aqt install-qt windows desktop 6.8.0 win64_msvc2022_64 -m qt5compat qtcharts qtdatavis3d
dir
echo %PATH% >> $GITHUB_ENV
- name: checkout build system
Expand Down Expand Up @@ -79,5 +74,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: windows
path: build-system/packages/setup.release
path: |
build-system/packages/setup.release/*.zip
build-system/packages/setup.release/*.tar.gz
11 changes: 11 additions & 0 deletions bin/functions-windows-msys
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,20 @@ function packageCOPASI() {

# create 'COPASI'

# create a zip file for the COPASI package including just
# $COPASI_SETUP_DIR/bin and $COPASI_SETUP_DIR/share
# the zip file is named COPASI-${sourceVersion}-${COPASI_PACKAGE}.zip

pushd ${COPASI_SETUP_DIR}
zip -r COPASI-${sourceVersion}-${COPASI_PACKAGE}.zip bin share
popd

. "${VARIABLES}"
BINARY_DIR="${BUILD_DIR}/COPASI.${DIR_SUFFIX}" create 'Java-Bindings'
BINARY_DIR="${BUILD_DIR}/COPASI.${DIR_SUFFIX}" create 'C#-Bindings'

# remove COPASI* subfolders from COPASI_SETUP_DIR
rm -rf "${COPASI_SETUP_DIR}"/COPASI*
}

function copyCOPASI () {
Expand Down

0 comments on commit 878cc85

Please sign in to comment.