mozim 0.3.2

DHCP Client Library
Documentation
name: Build

on:
  pull_request:
    types: [opened, synchronize, reopened]
  push:
    branches:
      - main

jobs:
  build:
    name: Build
    runs-on: ubuntu-latest
    strategy:
      fail-fast: true
      matrix:
        include:
          - rust_target: "i686-unknown-linux-gnu"
          - rust_target: "x86_64-unknown-linux-gnu"
          - rust_target: "loongarch64-unknown-linux-gnu"

    steps:
      - uses: actions/checkout@v6

      - name: Install Rust Stable
        run: |
          rustup override set stable
          rustup update stable
          rustup target add ${{ matrix.rust_target }}

      - name: Build test for ${{ matrix.rust_target }}
        run: cargo build --target ${{ matrix.rust_target }}

      - name: Build test for ${{ matrix.rust_target }} without default feature
        run: cargo build --target ${{ matrix.rust_target }} --no-default-features