diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8bc70293..b5f41176 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -116,13 +116,10 @@ jobs: artifact_suffix: "" name_suffix: "(linux)" - # - # TODO: Re-enable once tests are passing. - # - # - host: "macos-latest" - # variant: "macos" - # artifact_suffix: "-macos" - # name_suffix: "(macOS) -- ** not yet expected to pass **" + - host: "macos-latest" + variant: "macos" + artifact_suffix: "-macos" + name_suffix: "(macOS)" name: "Test ${{ matrix.name_suffix }}" runs-on: ${{ matrix.host }} diff --git a/brush-core/src/sys/unix/signal.rs b/brush-core/src/sys/unix/signal.rs index 3b6d4d36..33768b21 100644 --- a/brush-core/src/sys/unix/signal.rs +++ b/brush-core/src/sys/unix/signal.rs @@ -35,10 +35,10 @@ pub(crate) fn kill_process(pid: u32) -> Result<(), error::Error> { Ok(()) } -const SIGTSTP: std::os::raw::c_int = 20; - pub(crate) fn tstp_signal_listener() -> Result { - let signal = tokio::signal::unix::signal(tokio::signal::unix::SignalKind::from_raw(SIGTSTP))?; + let signal = tokio::signal::unix::signal(tokio::signal::unix::SignalKind::from_raw( + nix::libc::SIGTSTP, + ))?; Ok(signal) }