From 5648711a045fe3eb78b6bb5ffed5a53446fb49c3 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-GEI1C14\\dmalec" Date: Sat, 14 Sep 2024 08:25:44 -0400 Subject: [PATCH 1/3] Changed macros so wxWidgets builds don't include other sleep code --- coms.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/coms.c b/coms.c index 82a54cb..04999bd 100644 --- a/coms.c +++ b/coms.c @@ -445,9 +445,7 @@ NODE *lwait(NODE *args) { n = (unsigned int)getint(num) * 100 / 6; // milliseconds wxLogoSleep(n); //check_throwing; - return(UNBOUND); -#endif - +#else if (getint(num) > 0) { #ifdef unix #ifdef HAVE_USLEEP @@ -485,8 +483,9 @@ NODE *lwait(NODE *args) { if (n > 0) sleep(n); } input_blocking = 0; -#endif +#endif /* unix */ } +#endif /* HAVE_WX */ } return(UNBOUND); } From c83314dfdcfefb46a4093748339bb86275039b66 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-GEI1C14\\dmalec" Date: Sat, 14 Sep 2024 09:13:00 -0400 Subject: [PATCH 2/3] Updated CD pipeline to perform the wxWidgets install on OSX using sudo. --- .github/workflows/cd.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 055bb88..85708b3 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -208,7 +208,8 @@ jobs: working-directory: ${{ runner.temp }}/wxWidgets-${{ env.WX_WIDGETS_VERSION }} run: | cd build-static - make install + sudo make install + sudo cp ../wxwin.m4 /opt/homebrew/share/aclocal/ - name: Checkout Repository uses: actions/checkout@v3 with: From d2d580ab44ddebdde701b8ad92d7680f17d962e8 Mon Sep 17 00:00:00 2001 From: Dan Malec Date: Mon, 16 Sep 2024 12:14:03 -0400 Subject: [PATCH 3/3] Use the version of Inno provided on the Windows runners by default --- .github/workflows/cd.yaml | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 85708b3..916537c 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -8,7 +8,6 @@ on: - release* env: - INNO_VERSION: 6.1.2 WX_WIDGETS_VERSION: 3.2.2.1 TARGET_OSX_VERSION: 10.14 @@ -236,33 +235,9 @@ jobs: name: ucblogo.dmg path: ucblogo.dmg - download_inno_windows: - name: Download Inno for Windows - runs-on: windows-latest - timeout-minutes: 5 - steps: - - name: Cache inno - uses: actions/cache@v3 - id: inno-cache - with: - path: ${{ runner.temp }}\innosetup-${{ env.INNO_VERSION }} - key: ${{ runner.os }}-innosetup-${{ env.INNO_VERSION }} - - name: Install Dependencies - uses: msys2/setup-msys2@v2 - with: - msystem: MINGW32 - - name: Download inno - if: steps.inno-cache.outputs.cache-hit != 'true' - working-directory: ${{ runner.temp }} - shell: msys2 {0} - run: | - mkdir innosetup-${{ env.INNO_VERSION }} - cd innosetup-${{ env.INNO_VERSION }} - wget -q https://files.jrsoftware.org/is/6/innosetup-${{ env.INNO_VERSION }}.exe - build_windows: name: Build Logo for Windows - needs: [ download_inno_windows, build_wxwidgets_windows, build_linux ] + needs: [ build_wxwidgets_windows, build_linux ] runs-on: windows-latest timeout-minutes: 15 steps: @@ -275,17 +250,6 @@ jobs: base-devel mingw-w64-i686-toolchain unzip - - name: Inno Cache - uses: actions/cache@v3 - id: inno-cache - with: - path: ${{ runner.temp }}\innosetup-${{ env.INNO_VERSION }} - key: ${{ runner.os }}-innosetup-${{ env.INNO_VERSION }} - - name: Install Inno - working-directory: ${{ runner.temp }}\innosetup-${{ env.INNO_VERSION }} - shell: pwsh - run: | - ./innosetup-${{ env.INNO_VERSION }}.exe /SP- /VERYSILENT /ALLUSERS /SUPPRESSMSGBOXES - name: wxWidgets Cache uses: actions/cache@v3 id: wxwidgets-cache