From 5d3943195efd873335f7011d35ca683c2ee80075 Mon Sep 17 00:00:00 2001 From: Chris Osborn Date: Mon, 17 Nov 2025 09:47:20 -0800 Subject: [PATCH] Created workflow to test compiling against fujinet-config --- .github/workflows/build-config.yml | 34 ++++++++++++++++++++++++++++++ .gitignore | 5 ++++- network_http_set_channel_mode.err | 1 - network_read.err | 3 --- 4 files changed, 38 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/build-config.yml delete mode 100644 network_http_set_channel_mode.err delete mode 100644 network_read.err diff --git a/.github/workflows/build-config.yml b/.github/workflows/build-config.yml new file mode 100644 index 0000000..84b080a --- /dev/null +++ b/.github/workflows/build-config.yml @@ -0,0 +1,34 @@ +name: Verify CONFIG compiles + +on: + pull_request: + branches: [ main ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + container: + image: fozztexx/defoogi:1.4.2 + + steps: + - name: Checkout this repository + uses: actions/checkout@v4 + with: + path: fn-lib + + - name: Checkout CONFIG + uses: actions/checkout@v4 + with: + repository: FujiNetWIFI/fujinet-config + path: fn-config + + - name: Build fn-lib + working-directory: fn-lib + run: | + make + + - name: Compile CONFIG + working-directory: fn-config + run: | + make FUJINET_LIB=$GITHUB_WORKSPACE/fn-lib/build diff --git a/.gitignore b/.gitignore index c31355d..93f3fa0 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,7 @@ build/ Makefile.options _temp -*.err \ No newline at end of file +*.err +*~ +*.orig +*.rej diff --git a/network_http_set_channel_mode.err b/network_http_set_channel_mode.err deleted file mode 100644 index effbc75..0000000 --- a/network_http_set_channel_mode.err +++ /dev/null @@ -1 +0,0 @@ -msdos/src/fn_network/network_http_set_channel_mode.c(8): Warning! W131: No prototype found for function 'int_f5' diff --git a/network_read.err b/network_read.err deleted file mode 100644 index 701a916..0000000 --- a/network_read.err +++ /dev/null @@ -1,3 +0,0 @@ -common/src/fn_network/network_read.c(154): Warning! W102: Parameter 1: Type mismatch (warning) -common/src/fn_network/network_read.c(154): Note! I2003: source conversion type is 'unsigned char' -common/src/fn_network/network_read.c(154): Note! I2004: target conversion type is 'char const *'