Compare commits

..

2 Commits

Author SHA1 Message Date
William Bell
923503493e fix release.yml 2025-08-15 20:04:55 +01:00
William Bell
686cb08f11 fix conan file 2025-08-15 19:56:54 +01:00
2 changed files with 6 additions and 3 deletions

View File

@@ -26,8 +26,11 @@ jobs:
# Windows
- name: Install build tools (Windows)
if: runner.os == 'Windows'
run: choco install winflexbison -y
run: |
choco install winflexbison mingw -y
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
shell: pwsh
- name: Checkout code
uses: actions/checkout@v3
with:
@@ -73,7 +76,7 @@ jobs:
if: runner.os == 'Windows'
run: |
conan install . --build=missing
conan build .
conan build . --config Release
shell: pwsh
- name: Determine if prerelease (Linux/macOS)

View File

@@ -41,7 +41,7 @@ class ArgonConan(ConanFile):
if not flex_path:
raise Exception("Flex not found in system PATH. Please install flex on Linux/macOS.")
tc.variables["FLEX_EXECUTABLE"] = flex_path
tc.variables["FLEX_EXECUTABLE"] = flex_path.replace("\\", "\\\\")
tc.generate()
def build(self):