Learn how to set up self-hosted runners for GitHub Actions to improve your CI/CD workflows. Optimize your build performance and customize your environment.
self-hosted runners, GitHub Actions, CI/CD, DevOps, continuous integration, automation, custom environments
// Example of configuring a self-hosted runner on GitHub Actions
1. Create a new directory for your runner
mkdir actions-runner && cd actions-runner
2. Download the latest runner package
curl -o actions-runner-linux-x64-2.280.0.tar.gz https://github.com/actions/runner/releases/download/v2.280.0/actions-runner-linux-x64-2.280.0.tar.gz
tar xzf ./actions-runner-linux-x64-2.280.0.tar.gz
3. Configure the runner
./config.sh --url https://github.com/YOUR_GITHUB_USERNAME/YOUR_REPOSITORY --token YOUR_TOKEN
4. Run the runner
./run.sh
How do I avoid rehashing overhead with std::set in multithreaded code?
How do I find elements with custom comparators with std::set for embedded targets?
How do I erase elements while iterating with std::set for embedded targets?
How do I provide stable iteration order with std::unordered_map for large datasets?
How do I reserve capacity ahead of time with std::unordered_map for large datasets?
How do I erase elements while iterating with std::unordered_map in multithreaded code?
How do I provide stable iteration order with std::map for embedded targets?
How do I provide stable iteration order with std::map in multithreaded code?
How do I avoid rehashing overhead with std::map in performance-sensitive code?
How do I merge two containers efficiently with std::map for embedded targets?