From 3da99862320a8ddd51599579dfd26c2a2c658bb4 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Wed, 2 Mar 2022 10:12:42 -0700 Subject: [PATCH 1/2] Regenerate pack file when dependencies are changed. Should help prevent some spurious test failures due to stale test/packed_fs.c file. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4b3f63aa..2933b2e5 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ all: mg_prefix unamalgamated unpacked test test++ arm examples vc98 vc2017 mingw examples: @for X in $(EXAMPLES); do test -f $$X/Makefile || continue; $(MAKE) -C $$X example || exit 1; done -test/packed_fs.c: +test/packed_fs.c: Makefile src/ssi.h test/fuzz.c test/data/a.txt $(CC) $(CFLAGS) test/pack.c -o pack ./pack Makefile src/ssi.h test/fuzz.c test/data/a.txt -z 'gzip -c' test/data/range.txt > $@ From c46ad970cbd21b4dbfed403234c8d614e238ecad Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sun, 6 Mar 2022 21:59:25 -0700 Subject: [PATCH 2/2] Update actions/checkout@v2 to actions/checkout@v3 --- .github/workflows/test.yml | 62 +++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61a265d8..8ececde9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ jobs: linux: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install packages run: sudo apt-get install libmbedtls-dev - name: gcc @@ -18,7 +18,7 @@ jobs: examples: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install packages run: sudo apt-get install libmbedtls-dev - name: examples @@ -26,7 +26,7 @@ jobs: macos: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install packages run: HOMEBREW_NO_AUTO_UPDATE=1 brew install jq mbedtls openssl - name: make @@ -38,7 +38,7 @@ jobs: windows: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: vc98 run: make vc98 - name: vc2017 @@ -50,162 +50,162 @@ jobs: arm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: arm run: make arm esp32: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: esp32 run: make -C examples/esp32 build esp8266: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: esp8266 run: make -C examples/esp8266 build stm32-freertos-tcp: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: stm32-freertos-tcp run: make -C examples/stm32/stm32-freertos-tcp build stm32-nucleo-f746z: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: stm32-nucleo-f746z run: make -C examples/stm32/stm32-nucleo-f746z build stm32-nucleo-f429z: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: stm32-nucleo-f429z run: make -C examples/stm32/stm32-nucleo-f429z build stm32-nucleo-h743z: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: stm32-nucleo-h743z run: make -C examples/stm32/stm32-nucleo-h743z build nxp-mimxrt1020-azurertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-mimxrt1020-azurertos run: make -C examples/nxp/nxp-mimxrt1020-azurertos build nxp-frdmk66f-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-frdmk66f-freertos run: make -C examples/nxp/nxp-frdmk66f-freertos build nxp-lpcxpresso54s018m-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-lpcxpresso54s018m-freertos run: make -C examples/nxp/nxp-lpcxpresso54s018m-freertos build nxp-mimxrt1020-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-mimxrt1020-freertos run: make -C examples/nxp/nxp-mimxrt1020-freertos build nxp-evkbimxrt1050-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-evkbimxrt1050-lwip-freertos run: make -C examples/nxp/nxp-evkbimxrt1050-lwip-freertos build nxp-evkmimxrt1020-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-evkmimxrt1020-lwip-freertos run: make -C examples/nxp/nxp-evkmimxrt1020-lwip-freertos build nxp-evkmimxrt1024-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-evkmimxrt1024-lwip-freertos run: make -C examples/nxp/nxp-evkmimxrt1024-lwip-freertos build nxp-evkmimxrt1060-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-evkmimxrt1060-lwip-freertos run: make -C examples/nxp/nxp-evkmimxrt1060-lwip-freertos build nxp-evkmimxrt1064-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-evkmimxrt1064-lwip-freertos run: make -C examples/nxp/nxp-evkmimxrt1064-lwip-freertos build nxp-evkmimxrt1160-cm7-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-evkmimxrt1160-cm7-lwip-freertos run: make -C examples/nxp/nxp-evkmimxrt1160-cm7-lwip-freertos build nxp-evkmimxrt1170-cm4-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-evkmimxrt1170-cm4-lwip-freertos run: make -C examples/nxp/nxp-evkmimxrt1170-cm4-lwip-freertos build nxp-evkmimxrt1170-cm7-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-evkmimxrt1170-cm7-lwip-freertos run: make -C examples/nxp/nxp-evkmimxrt1170-cm7-lwip-freertos build nxp-frdmk64f-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-frdmk64f-lwip-freertos run: make -C examples/nxp/nxp-frdmk64f-lwip-freertos build nxp-frdmk66f-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-frdmk66f-lwip-freertos run: make -C examples/nxp/nxp-frdmk66f-lwip-freertos build nxp-lpcxpresso54018-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-lpcxpresso54018-lwip-freertos run: make -C examples/nxp/nxp-lpcxpresso54018-lwip-freertos build nxp-lpcxpresso54608-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-lpcxpresso54608-lwip-freertos run: make -C examples/nxp/nxp-lpcxpresso54608-lwip-freertos build nxp-lpcxpresso54618-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-lpcxpresso54618-lwip-freertos run: make -C examples/nxp/nxp-lpcxpresso54618-lwip-freertos build nxp-lpcxpresso54628-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-lpcxpresso54628-lwip-freertos run: make -C examples/nxp/nxp-lpcxpresso54628-lwip-freertos build nxp-twrk65f180m-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-twrk65f180m-lwip-freertos run: make -C examples/nxp/nxp-twrk65f180m-lwip-freertos build nxp-twrkv58f220m-lwip-freertos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: nxp-twrkv58f220m-lwip-freertos run: make -C examples/nxp/nxp-twrkv58f220m-lwip-freertos build