Compare commits
11 Commits
prerelease
...
prerelease
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a1ed23f96 | ||
|
|
eb36d02fcb | ||
|
|
7b3a1e1835 | ||
|
|
8e53579682 | ||
|
|
0d8f262185 | ||
|
|
fc6f41d89b | ||
|
|
6a7ce72eb7 | ||
|
|
f84e5429a5 | ||
|
|
f4c7294267 | ||
|
|
be4b04a286 | ||
|
|
9d11122e93 |
27
.github/workflows/release.yml
vendored
27
.github/workflows/release.yml
vendored
@@ -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 mingw -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,15 +131,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build with MinGW
|
- name: Build with MinGW
|
||||||
run: |
|
run: |
|
||||||
conan install . `
|
make
|
||||||
-s compiler=gcc `
|
shell: msys2 {0}
|
||||||
-s compiler.version=13 `
|
|
||||||
-s compiler.libcxx=libstdc++11 `
|
|
||||||
-s arch=x86_64 `
|
|
||||||
-s os=Windows `
|
|
||||||
--build=missing
|
|
||||||
conan build .
|
|
||||||
shell: pwsh
|
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
run: |
|
run: |
|
||||||
@@ -139,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
|
||||||
|
|||||||
8
conan/profiles/windows-mingw
Normal file
8
conan/profiles/windows-mingw
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[settings]
|
||||||
|
os=Windows
|
||||||
|
arch=x86_64
|
||||||
|
compiler=gcc
|
||||||
|
compiler.version=13
|
||||||
|
compiler.cppstd=gnu17
|
||||||
|
compiler.libcxx=libstdc++11
|
||||||
|
build_type=Release
|
||||||
@@ -30,6 +30,7 @@ class ArgonConan(ConanFile):
|
|||||||
self.folders.generators = "build"
|
self.folders.generators = "build"
|
||||||
|
|
||||||
def generate(self):
|
def generate(self):
|
||||||
|
os.environ["CONAN_NON_INTERACTIVE"] = "1"
|
||||||
tc = CMakeToolchain(self)
|
tc = CMakeToolchain(self)
|
||||||
|
|
||||||
if os.name == "nt": # Windows
|
if os.name == "nt": # Windows
|
||||||
|
|||||||
Reference in New Issue
Block a user