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
28 run: sudo apt-get install autoconf automake
33 ./configure ${{ env.DEFAULT_CONFIGURE_OPTIONS }}
36 # Use make distcheck to verify that configure.ac and the Makefile.am
37 # files properly list all the dependencies and that a build outside of
38 # of the source tree works.
42 ./configure ${{ env.DEFAULT_CONFIGURE_OPTIONS }}
43 make DISTCHECK_CONFIGURE_FLAGS="${{ env.DEFAULT_CONFIGURE_OPTIONS }} --disable-pch" \
46 # Unless building 1.6.2; make distcheck will not work with the Japanese
47 # build (the preprocessing to change the source encoding modifies the source
48 # tree) so don't test that for the Japanese build.
51 runs-on: ubuntu-latest
53 # This will be passed to all invocations of configure for this test.
54 DEFAULT_CONFIGURE_OPTIONS: --disable-pch
58 uses: actions/checkout@v3
62 # Requires automake, autoconf, and, unless building the 1.6.2 version,
63 # nkf. Hengband 3.0.0 now requires libcurl if not configured with
64 # --disable-net. Install those via apt-get.
65 - name: Install Build Dependencies
66 run: sudo apt-get install automake autoconf nkf libcurl
71 ./configure ${{ env.DEFAULT_CONFIGURE_OPTIONS }}