Skip to content

Commit

Permalink
actions: add copyright notices; prompted by #623
Browse files Browse the repository at this point in the history
  • Loading branch information
martelletto committed Aug 2, 2022
1 parent b0b849d commit 90c5df9
Show file tree
Hide file tree
Showing 20 changed files with 97 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .actions/build-bsd
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/sh -eux

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

BASE_URL="https://builds.sr.ht"
MANIFEST="$(mktemp)"
LOGFILE="$(mktemp)"
Expand Down
5 changes: 5 additions & 0 deletions .actions/build-linux-clang
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh -eux

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

${CC} --version
SCAN=scan-build${CC#clang}

Expand Down
5 changes: 5 additions & 0 deletions .actions/build-linux-gcc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh -eux

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

${CC} --version

# Build and install libfido2.
Expand Down
5 changes: 5 additions & 0 deletions .actions/build-linux-i686-w64-mingw32-gcc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh -eux

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

# XXX defining CC and cross-compiling confuses OpenSSL's build.
unset CC

Expand Down
5 changes: 5 additions & 0 deletions .actions/build-linux-openssl3-clang
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh -eux

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

${CC} --version
SCAN=scan-build${CC#clang}
FAKEROOT="$(mktemp -d)"
Expand Down
5 changes: 5 additions & 0 deletions .actions/build-linux-openssl3-gcc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh -eux

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

${CC} --version
FAKEROOT="$(mktemp -d)"

Expand Down
5 changes: 5 additions & 0 deletions .actions/build-linux-openssl3-i686-w64-mingw32-gcc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh -eux

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

# XXX defining CC and cross-compiling confuses OpenSSL's build.
unset CC

Expand Down
5 changes: 5 additions & 0 deletions .actions/build-osx-clang
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh -eux

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

export PKG_CONFIG_PATH="$(brew --prefix [email protected])/lib/pkgconfig"
SCAN="$(brew --prefix llvm)/bin/scan-build"

Expand Down
1 change: 1 addition & 0 deletions .actions/fuzz-linux
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Copyright (c) 2020-2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

LIBCBOR_URL="https://github.com/pjk/libcbor"
LIBCBOR_TAG="v0.9.0"
Expand Down
5 changes: 5 additions & 0 deletions .actions/setup_clang
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh -eu

# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

CC="$1"
APT="http://apt.llvm.org"
CODENAME="$(lsb_release -cs)"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/alpine_builds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

name: alpine

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/bsd_builds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

name: bsd

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/cifuzz_oss.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

name: cifuzz

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

name: "codeql"

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/cygwin_builds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

name: cygwin

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/linux_builds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

name: linux

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/linux_fuzz.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

name: fuzzer

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/macos_builds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

name: macos

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/openssl3.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

name: openssl3

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/windows_builds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2022 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause

name: windows

on:
Expand Down

0 comments on commit 90c5df9

Please sign in to comment.