Skip to content

Commit 2aac330

Browse files
committed
test
1 parent 0eb9358 commit 2aac330

File tree

1 file changed

+3
-56
lines changed

1 file changed

+3
-56
lines changed

.github/workflows/build_installer.yaml

Lines changed: 3 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -10,66 +10,11 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
windows-installer:
14-
runs-on: windows-latest
15-
steps:
16-
- uses: actions/checkout@v5
17-
- uses: conda-incubator/setup-miniconda@v3
18-
with:
19-
activate-environment: rascal2
20-
environment-file: environment.yaml
21-
auto-activate-base: false
22-
- name: Set up MATLAB
23-
uses: matlab-actions/setup-matlab@v2
24-
with:
25-
release: R2023a
26-
- name: Make installer
27-
shell: powershell
28-
run: |
29-
conda init powershell
30-
conda activate rascal2
31-
conda install -c nsis nsis=3.* accesscontrol
32-
pip install matlabengine==9.14.*
33-
python packaging/build_exe.py
34-
makensis packaging/windows/build_installer.nsi
35-
- name: Upload installer
36-
uses: actions/upload-artifact@v4
37-
with:
38-
name: windows installer
39-
path: packaging/windows/*.exe
40-
linux-installer:
41-
runs-on: ubuntu-latest
42-
steps:
43-
- name: Checkout
44-
uses: actions/checkout@v5
45-
- name: Set up MATLAB
46-
uses: matlab-actions/setup-matlab@v2
47-
with:
48-
release: R2023a
49-
- name: Make installer
50-
shell: bash -l {0}
51-
run: |
52-
sudo apt-get update -y
53-
sudo apt-get install -y makeself
54-
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/hostedtoolcache/MATLAB/2023.1.999/x64/bin/glnxa64
55-
cd packaging/linux
56-
chmod 777 "build_installer.sh"
57-
mkdir build
58-
if [ ${{ github.ref_name }} == "main" ]; then
59-
./build_installer.sh --remote
60-
else
61-
./build_installer.sh --remote --tag $GITHUB_REF_NAME
62-
fi
63-
- name: Upload installer
64-
uses: actions/upload-artifact@v4
65-
with:
66-
name: linux installer
67-
path: packaging/linux/*.run
6813
macos-installer:
6914
strategy:
7015
fail-fast: false
7116
matrix:
72-
platform: [ macos-15-intel, macos-14 ]
17+
platform: [ macos-14 ]
7318
runs-on: ${{ matrix.platform }}
7419
steps:
7520
- uses: actions/checkout@v5
@@ -97,6 +42,8 @@ jobs:
9742
python -m pip install --no-build-isolation /Users/runner/hostedtoolcache/MATLAB/2023.2.999/x64/MATLAB.app/extern/engines/python
9843
fi
9944
python packaging/build_exe.py
45+
ls packaging/bundle/rascal.app/Contents/Resources/
46+
ls packaging/bundle/rascal.app/Contents/Resources/examples/
10047
chmod 777 packaging/bundle/rascal.app/Contents/Resources/matlab/engine/_arch.txt
10148
cd packaging/macos/
10249
chmod 777 make.sh

0 commit comments

Comments
 (0)