Compare commits

..

2 Commits

Author SHA1 Message Date
William Bell
4a1ed23f96 fix release.yml 2025-08-15 22:05:57 +01:00
William Bell
eb36d02fcb fix release.yml 2025-08-15 22:03:23 +01:00

View File

@@ -105,9 +105,17 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: Install build tools - name: Install MSYS2 and build tools
run: choco install winflexbison -y uses: msys2/setup-msys2@v3
shell: pwsh with:
update: true
install: >
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-gmp
mingw-w64-x86_64-make
mingw-w64-x86_64-flex
mingw-w64-x86_64-bison
shell: msys2 {0}
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
@@ -123,9 +131,8 @@ jobs:
- name: Build with MinGW - name: Build with MinGW
run: | run: |
conan install . make
conan build . shell: msys2 {0}
shell: pwsh
- name: Package - name: Package
run: | run: |
@@ -133,7 +140,7 @@ jobs:
$ARCH = if ([Environment]::Is64BitOperatingSystem) { 'x64' } else { 'x86' } $ARCH = if ([Environment]::Is64BitOperatingSystem) { 'x64' } else { 'x86' }
$FOLDER = "chloride-$TAG-windows-$ARCH" $FOLDER = "chloride-$TAG-windows-$ARCH"
$ZIP = "$FOLDER.zip" $ZIP = "$FOLDER.zip"
Rename-Item build\bin $FOLDER Rename-Item bin $FOLDER
Copy-Item LICENSE.txt $FOLDER Copy-Item LICENSE.txt $FOLDER
Compress-Archive -Path $FOLDER -DestinationPath $ZIP Compress-Archive -Path $FOLDER -DestinationPath $ZIP
echo "TAR_NAME=$ZIP" >> $env:GITHUB_ENV echo "TAR_NAME=$ZIP" >> $env:GITHUB_ENV