1 # Verify that the software builds on Linux either with English or Japanese
8 branches: [ 'macos-develop', 'macos-2-2-1', 'macos-1-6-2' ]
14 runs-on: ubuntu-latest
16 # This will be passed to all invocations of configure for this test.
17 # Could drop --disable-net if libcurl is installed.
18 DEFAULT_CONFIGURE_OPTIONS: --disable-japanese --disable-net
22 uses: actions/checkout@v3
26 # Requires automake and autoconf; install those via apt-get.
27 - name: Install Build Dependencies
30 sudo apt-get install autoconf automake
35 ./configure ${{ env.DEFAULT_CONFIGURE_OPTIONS }}
38 # Use make distcheck to verify that configure.ac and the Makefile.am
39 # files properly list all the dependencies and that a build outside of
40 # of the source tree works.
44 ./configure ${{ env.DEFAULT_CONFIGURE_OPTIONS }}
45 make DISTCHECK_CONFIGURE_FLAGS="${{ env.DEFAULT_CONFIGURE_OPTIONS }} --disable-pch" \
48 # Unless building 1.6.2; make distcheck will not work with the Japanese
49 # build (the preprocessing to change the source encoding modifies the source
50 # tree) so don't test that for the Japanese build.
53 runs-on: ubuntu-latest
55 # This will be passed to all invocations of configure for this test.
56 DEFAULT_CONFIGURE_OPTIONS: --disable-pch
60 uses: actions/checkout@v3
64 # Requires automake, autoconf, and, unless building the 1.6.2 version,
65 # nkf. Hengband 3.0.0 now requires libcurl if not configured with
66 # --disable-net. Install those via apt-get.
67 - name: Install Build Dependencies
70 sudo apt-get install automake autoconf nkf libcurl4-openssl-dev
75 ./configure ${{ env.DEFAULT_CONFIGURE_OPTIONS }}